<div class="baidushare" style="display:inline-block;display:inline\9;vertical-align: middle;zoom:1;">
    <div class="bdsharebuttonbox" data-tag="share_1">
        <if condition="$addons_config['openbutton'] eq 0">
        <volist name="addons_config.buttonlist" id="vo">
            <a class="bds_{$vo}" data-cmd="{$vo}"></a>
        </volist>
        <a class="bds_more" data-cmd="more"></a>
        <a class="bds_count" data-cmd="count"></a>
        </if>
    </div>
    <script>
        window._bd_share_config = {
            common : { //此处放置通用设置
                bdText : '{$info.title}｜{$Think.config.WEB_SITE_TITLE}', // 分享标题、微博内容
                bdDesc : '{$info.title}｜{$info.description}', // 分享摘要
                bdPic  : '{$_SERVER.HTTP_HOST}{$info.cover_id|get_cover="path"}' // 分享图片
            },
            <if condition="$addons_config['openbutton'] eq 1">
            share : [{ //此处放置分享按钮设置
                "bdSize" : {$addons_config['button_size']==null?16:$addons_config['button_size']}
            }],
            </if>
            <if condition="$addons_config['openslide'] eq 1">
            slide : [{ //此处放置浮窗分享设置
                bdImg : {$addons_config['slide_color']},
                bdPos : "{$addons_config['slide_position']}",
                bdTop : 100
            }],
            </if>
            <if condition="$addons_config['openimg'] eq 1">
            image : [{ //此处放置图片分享设置
                viewType : 'list',
                viewPos : 'top',
                viewColor : 'black',
                viewSize : {$addons_config['img_size']==null?16:$addons_config['img_size']},
                viewList : [<volist name="addons_config.imglist" id="vo"><if condition="$key eq 0">'{$vo}'<else/>,'{$vo}'</if></volist>]
            }],
            </if>
            <if condition="$addons_config['openselect'] eq 1">
            selectShare : [{ //此处放置划词分享设置
                "bdselectMiniList" : [<volist name="addons_config.selectlist" id="vo"><if condition="$key eq 0">'{$vo}'<else/>,'{$vo}'</if></volist>]
            }]
            </if>
        }
        with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=86835285.js?cdnversion='+~(-new Date()/36e5)];
    </script>
</div>
